package com.inkyi.assistant.app.base;

import com.formdev.flatlaf.util.ColorFunctions;

import javax.swing.*;
import java.awt.*;

public class AppConstant {

    /**
     * 默认大小
     */
    public static final Dimension DEFAULT_SIZE = new Dimension(1300, 800);
    /**
     * 默认字体
     */
    public static Font DEFAULT_FONT = new Font(Font.DIALOG, Font.PLAIN, 10);
    /**
     * 默认制表符大小
     */
    public static int DEFAULT_TAB_DIVEDER_SIZE = 6;
    /**
     * 组件空数组
     */
    public static final Component[] COMPONENT_EMPTY_ARRAY = new Component[0];

    /**
     * 默认边框颜色
     */
    public static Color DEFAULT_BORDER_COLOR = ColorFunctions.darken((Color) UIManager.getLookAndFeelDefaults().get("Panel.background"), 25);
}
